package hm1;

public class Graduate extends student{
String direction;
    public Graduate(String name, int age, String degree, String direction) {
        super(name, age, degree);
        this.direction = direction;
    }

    @Override
    public void show() {
        super.show();
        System.out.println("研究方向:"+direction);
    }
}
